package moodish.server.tests;

import moodish.comm.ServerComm;
import moodish.comm.ServerSideMessage;

public class MsgFriendRequest implements ServerSideMessage{

	private String _nickname;
	private String _nicknameOfFriend;
	
	public MsgFriendRequest(String nickname, String nicknameOfFriend){
		_nickname = nickname;
		_nicknameOfFriend = nicknameOfFriend;
	}
	
	@Override
	public Type getType() {
		return ServerSideMessage.Type.FRIENDSHIP;
	}

	@Override
	public String getPayload() {
		return _nicknameOfFriend;
	}

	@Override
	public String getClientNickname() {
		return _nickname;
	}

}
